import request from '@/utils/request'
// const prefix = 'health-channel/'
const prefix = 'admin/'
// 学耕教育评价Api

// 评价-列表
export function getTeacherCommentList(data) {
  return request({
    url: prefix + 'teacherComment/getTeacherCommentList',
    method: 'post',
    data
  })
}
// 学耕教育评价-新增
export function addTeacherComment(data) {
  return request({
    url: prefix + 'teacherComment/addTeacherComment',
    method: 'post',
    data
  })
}

// 学耕教育评价-修改
export function modifyTeacherCommentById(data) {
  return request({
    url: prefix + 'teacherComment/modifyTeacherCommentById',
    method: 'post',
    data
  })
}

// 学耕教育评价-根据主键查询评价
export function getTeacherCommentById(id) {
  return request({
    url: prefix + 'teacherComment/getTeacherCommentById/' + id,
    method: 'get'
  })
}

// 学耕教育评价-删除
export function removeTeacherCommentById(id) {
  return request({
    url: prefix + 'teacherComment/removeTeacherCommentById/' + id,
    method: 'delete'
  })
}
